package com.baizhi.service;

import com.baizhi.entity.CmfzGuru;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.FileNotFoundException;
import java.io.IOException;

public interface CmfzGuruService {
    /**
     * 所有上师的信息展示+查询
     */
    Page<CmfzGuru> selectAll(Integer page, Integer limit, String nickname);

    int insert(CmfzGuru cmfzGuru);

    int updateGuruStatus(CmfzGuru cmfzGuru);

    void downloadAll() throws IOException;
}
